<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:if test="${Role=='student' }">
<%@ include file="header_student.jsp"%>
</c:if>
<c:if test="${Role=='teacher' }">
<%@ include file="header_teacher.jsp"%>
</c:if>
<c:if test="${Role=='admin' }">
<%@ include file="header_admin.jsp"%>
</c:if>

<div class="left-sidebar">
	<div class="row-fluid">
		<div class="span3"></div>
		<div class="span6">
			<div class="widget">
				<div class="widget-header">
					<div class="title">预约信息</div>

				</div>
				<div class="widget-body">

					<form class="form-horizontal no-margin"
						action="/mycms/room/submitbookroom" method="post">
						<div class="control-group">
							<label class="control-label" for="name"> 房间号 </label>
							<div class="controls controls-row">
								<input class="span6" type="text" name="roomid"
									value="${room.BId }" disabled> <input type="hidden"
									name="roomid" value="${room.BId }">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="name"> 预约日期 </label>
							<div class="controls controls-row">
								<input class="span6" type="text" value="${bookdate }" disabled>
								<input type="hidden" name="bookdate" value="${bookdate }">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="name"> 预约时间段 </label>
							<div class="controls controls-row">
								<input class="span6" type="text"
									value="${booktime.start } ~ ${booktime.end }" disabled>
								<input type="hidden" name="booktime" value="${booktime.TId }">
							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="email1"> 预约负责人 </label>
							<div class="controls">
								<input type="text" class="span6" value="${Name }" disabled />

							</div>
						</div>
						<div class="control-group">
							<label class="control-label" for="name"> 预约原因 </label>
							<div class="controls">
								<!-- <input type="text" rows="5" name="reason" class="span6" required="required"> -->
								<textarea rows="5" name="reason" class="span6"
									required="required">                        
                          </textarea>

							</div>
						</div>
						<div class="form-actions no-margin">
							<button type="submit" class="btn btn-info pull-center">
								提交</button>
							<div class="clearfix"></div>
						</div>

					</form>

				</div>
			</div>
		</div>
	</div>

</div>
</div>


</div>
</div>
<!--/.fluid-container-->
</div>
<jsp:include page="footer.jsp"></jsp:include>
